package records

import (
	"github.com/golib/mysql"
)

const RecordNameAuditionStudentKnowledge = "audition_student_knowledge"

func init() {
	var r = &AuditionStudentKnowledge{}
	mysql.RegisterRecord(r.Name(), r)
}

type AuditionStudentKnowledge struct {
	StudentKnowledgeId int    `json:"studentKnowledgeId" form:"studentKnowledgeId" column:"student_knowledge_id" primary:"true" modify:"false"`
	StudentId          int    `modify:"true" json:"studentId" form:"studentId" column:"student_id"`
	KnowledgeId        int    `json:"knowledgeId" form:"knowledgeId" column:"knowledge_id" modify:"true"`
	KnowledgeName      string `json:"knowledgeName" form:"knowledgeName" column:"knowledge_name" modify:"true"`
	Difficulty         int    `json:"difficulty" form:"difficulty" column:"difficulty" modify:"true"`
	PracticeScore      int    `column:"practice_score" modify:"true" json:"practiceScore" form:"practiceScore"`
	MasterScore        int    `json:"masterScore" form:"masterScore" column:"master_score" modify:"true"`
	CreateTime         string `json:"createTime" form:"createTime" column:"create_time" modify:"false"`
	UpdateTime         string `form:"updateTime" column:"update_time" modify:"false" json:"updateTime"`
}

func (r *AuditionStudentKnowledge) Name() string {
	return RecordNameAuditionStudentKnowledge
}
